package com.yorun.lib_wx_pay;

/**
 * Created by yorun on 2016/12/21.
 */

public class PostEntity {
//    <xml>
//    <appid>wxeb7bd05bc177a25d</appid>
//    <attach>支付测试</attach>
//    <body>APP支付测试</body>
//    <mch_id>1377632502</mch_id>
//    <nonce_str>1add1a30ac87aa2db72f57a2375d8fec</nonce_str>
//    <notify_url>http://wxpay.wxutil.com/pub_v2/pay/notify.v2.php</notify_url>
//    <out_trade_no>1415659990</out_trade_no>
//    <spbill_create_ip>14.23.150.211</spbill_create_ip>
//    <total_fee>1</total_fee>
//    <trade_type>APP</trade_type>
//    <sign>D89DDA11B041738BC7C9B2D820CEBE94</sign>
//    </xml>

    String appid="wxeb7bd05bc177a25d";
    String attach="支付测试";
    String body="APP支付测试";
    String mch_id="1377632502";
    String nonce_str="1add1a30ac87aa2db72f57a2375d8fec";
    String notify_url="http://wxpay.wxutil.com/pub_v2/pay/notify.v2.php";
    String out_trade_no=(System.currentTimeMillis()+"").substring(0,10);
    String spbill_create_ip="14.23.150.211";
    String total_fee="1";
    String trade_type="APP";
    String sign="D89DDA11B041738BC7C9B2D820CEBE94";

    public String getAppid() {
        return appid;
    }


    public String getAttach() {
        return attach;
    }

    public void setAttach(String attach) {
        this.attach = attach;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getMch_id() {
        return mch_id;
    }


    public String getNonce_str() {
        return nonce_str;
    }


    public String getNotify_url() {
        return notify_url;
    }

    public void setNotify_url(String notify_url) {
        this.notify_url = notify_url;
    }

    public String getOut_trade_no() {
        return out_trade_no;
    }

    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }

    public String getSpbill_create_ip() {
        return spbill_create_ip;
    }

    public void setSpbill_create_ip(String spbill_create_ip) {
        this.spbill_create_ip = spbill_create_ip;
    }

    public String getTotal_fee() {
        return total_fee;
    }

    public void setTotal_fee(String total_fee) {
        this.total_fee = total_fee;
    }

    public String getTrade_type() {
        return trade_type;
    }

    public void setTrade_type(String trade_type) {
        this.trade_type = trade_type;
    }

    public String getSign() {
        return sign;
    }

    @Override
    public String toString() {
        return "PostEntity{" +
                "appid='" + appid + '\'' +
                ", attach='" + attach + '\'' +
                ", body='" + body + '\'' +
                ", mch_id='" + mch_id + '\'' +
                ", nonce_str='" + nonce_str + '\'' +
                ", notify_url='" + notify_url + '\'' +
                ", out_trade_no='" + out_trade_no + '\'' +
                ", spbill_create_ip='" + spbill_create_ip + '\'' +
                ", total_fee='" + total_fee + '\'' +
                ", trade_type='" + trade_type + '\'' +
                ", sign='" + sign + '\'' +
                '}';
    }
}
